import { postBody } from '../handler';

export const authEnvLogin = () => {
  return postBody('/wechat/auth/envLogin', {}, { showLoading: false, errorMessageShow: false });
};

export const authIsLogin = () => {
  return postBody('/wechat/auth/isLogin', {}, { showLoading: false, errorMessageShow: false });
};
export const authLogin = (data: any) => {
  return postBody('/wechat/auth/login', data);
};

export const lists = (data: any) => {
  return postBody('/wechat/lists', data);
};
